package com.hgc.biz.impl;

import com.hgc.biz.IUserBiz;
import com.hgc.dao.UserMapper;
import com.hgc.entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserBizImpl implements IUserBiz {

    @Resource
    private UserMapper userMapper;

    @Override
    public User findById(Integer id) {
        return userMapper.findById(id);
    }
}
